******************************
*Fig A2: Quantile DD treatment effects of DFS on school-attendance
************************
 

clear all
set trace off
set more off
use Jehanabad_analytic_sample_cognition

global socio_cov_4_vari no_HHmembers years_schooling_father years_schooling_mother asset_index
global school_cov_4_vari total_enrollment class_size student_teacher_ratio

g post=wave
label var post "Post"  /* Post denotes endline survey */
g treat_post=treat*post
label var treat_post "Treat*post"

* The quantile regression model is without child fixed effects
sqreg total_attendance_2 treat_post treat post $socio_cov_1_vari $school_cov_4_vari, quantile(0.10 0.20 0.30 0.40 0.50 0.60 0.70 0.80 0.90) reps(100)
grqreg treat_post, ci seed(12345) save(FigA2.gph) 

title("Fig A2: Quantile DD treatment effects of DFS on school-attendance")
Notes: The quantile regression does not include child fixed effects. Bootstraped standard errors based on 100 replications.

********************************************End of do file *******************


